<div class="prolist">
  <div class="left">
   
    <%=render :partial=>"pronav" %>
    <%= render :partial=>"hot_click_pros" %>
  </div>
  <div class="right">   
    <%= render :partial=>"search" %>
    <div class="pageinfo"><%=CommonFunction.dis_page_entries_info @products,:entry_name=>"项"%></div>
    <%= render :partial=>"pro_list",:object=>@products %>
    <%=will_paginate @products,:previous_label=>"上一页",:next_label=>"下一页"%>
  </div>
</div>
<%=render :partial=>"products/sub_menu",:object=>2 %>

<script type="text/javascript">
  $(window).load(function(){
    left=$(".prolist>.left");
    right=$(".prolist>.right");
    if(left.height()>right.height())
    {
      right.height(left.height());
    }
    else
    {
      left.height(right.height());
    }
  }
);
</script>